﻿<!DOCTYPE html>
<html lang="zh-CN" ><!-- manifest="manifest.appcache" -->
  <head>
    <#include "/v1.5/part_meta.ftl">
    <title>首页 - 迈小众</title>
  </head>
<body>
<!-- 首页  -->
<nav class="navbar navbar-default" style="margin-bottom: 0px;z-index: 1;">
  <div class="container">
    <div class="navbar-header">
      <span class="navbar-brand navbar-brand-logo"></span>
      <a class="navbar-brand-region" data-toggle="modal">&nbsp;</a>
      <p class="navbar-title col-xs-12"><!-- 标题 --></p>
    </div>          
  </div>
</nav>
<div class="container">
  <div class="row col-md-offset-2 col-md-8" style="padding-top: 10px;">
    <div class="col-xs-12 main-menu">
      <div class="col-xs-4 col-sm-2">
        <a href="#form-search">
          <span class="icon-search"></span>
          <span>搜索</span>
        </a>
      </div>
      <div class="col-xs-4 col-sm-2">
        <a href="${st.domain}/category">
          <span class="icon-cat"></span>
          <span>商品类目</span>
        </a>
      </div>
      <div class="col-xs-4 col-sm-2">
        <a href="${st.domain}/cusPromote">
          <span class="icon-prom"></span>
          <span>附近促销</span>
        </a>
      </div>
      <div class="col-xs-4 col-sm-2">
        <a href="${st.userDomain}/shoppingCart">
          <span class="icon-cart"></span>
          <span>购物车</span>
        </a>
      </div>
      <div class="col-xs-4 col-sm-2">
        <a href="${st.userDomain}/">
          <span class="icon-uc"></span>
          <span>个人中心</span>
        </a>
      </div>
      <div class="col-xs-4 col-sm-2">
        <a href="${st.userDomain}/favorite">
          <span class="icon-fav"></span>
          <span>收藏夹</span>
        </a>
      </div>            
    </div>
    <div id="swipe" class="swipe">
      <ul id="slider" class="slider">
        <!-- <li><img src="" alt="" /></li> -->
      </ul>
      <div id="pagenavi" class="pagenavi"><!--  <a class="active"></a>  --></div>
    </div>        
    <form id="form-search" action="${st.domain}/storeGoods/list" class="navbar-form navbar-left search-form search-goods" role="search">
      <ul class="nav nav-pills" style="margin-bottom: 5px;">
        <li role="presentation" class="goods"><a>商品</a></li>
        <li role="presentation" class="store"><a>店铺</a></li>
      </ul>            
      <div class="form-group">
        <div class="input-group input-group-lg">
          <input type="text" name="searchWord" class="form-control" placeholder="Search for...">
          <span class="input-group-btn">
            <button class="btn btn-default" type="button" onclick="$('#form-search').submit();"></button>
          </span>
        </div>
      </div>
    </form>
    <div id="hotwords" class="col-xs-12 hotwords">
      <!-- <a href="#">水果</a> -->
    </div>
  </div>
  <div id="latest-my" class="row col-md-offset-2 col-md-8 goods-list" style="padding-top: 10px;display:none;">
    <h5><b>最近浏览</b></h5>
    <a class="col-xs-6 col-sm-4" href="-{detailUrl}-">
      <div>
        <img src="${st.resDomain}/v1.5/images/goods-def.gif" data-src="-{pic}-" alt="-{title}-">               
      </div>
      <div>
        <p class="dot" title="-{title}-">-{title}-</p>
        <div>
          <p class="price" style="display:block;">￥-{price}-</p>
          <p class="prom-tally">-{prom}-</p>
        </div>
        <div class="store-info" >
            <p>-{storeName}-</p>
            <p>-{storeDistance}-</p> 
        </div>            
      </div>                
    </a>
  </div>
  <div id="latest-near" class="row col-md-offset-2 col-md-8" style="padding-top: 10px;margin-bottom: 10px;display:none;">
    <h5><b>大家在看</b></h5>
    <div class="col-xs-12" style="padding: 0px;">
      <div class="scroll-panel">
        <div class="scroll-list-panel">
          <div class="scroll-list">
            <a href="-{url}-" title="-{title}-">
              <img src="${st.resDomain}/v1.5/images/goods-def.jpg" data-src="-{pic}-" alt="-{title}-"/>
            </a>
          </div>
        </div>
        <div class="scroll-btn-panel" style="display:none;">
          <a href="#" class="scroll-btn scroll-btn-left">
            <span class="glyphicon glyphicon-menu-left"></span>
          </a>          
          <a href="#" class="scroll-btn scroll-btn-right">
            <span class="glyphicon glyphicon-menu-right"></span>
          </a>
        </div>
      </div>                  
    </div>
  </div>
  <#include "/v1.5/part_footer.ftl">
</div>
<!-- regionModal rm -->
<div class="modal regionModal" role="dialog" aria-labelledby="regionLabel" data-backdrop="static">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4>
          <a style="color: #333;"><span class="glyphicon glyphicon-menu-left"></span><span id="rm_selected">西乡塘区<span></span></a>
          <a style="margin-left:20px;"><span class="glyphicon glyphicon-map-marker"></span><span id="rm_located">广西</span></a>
        </h4>                    
      </div>
      <div class="modal-body">
        <button class="btn btn-region" id="rm_region_-{id}-">-{name}-</button>
      </div>
      <div class="modal-footer">
        <div class="col-xs-8 col-sm-6" style="padding:0px;">
          <input type="text" id="rm_searchWord" class="form-control" placeholder="名称/拼音">
        </div>
        <div class="col-xs-4 col-sm-6" style="padding-right:0px;text-align:left;">
          <button type="button" id="rm_btn" class="btn btn-default" >查找</button>
        </div>
      </div>
    </div>
  </div>
</div>
<script data-main="${st.resDomain}/v1.5/js/anonym/index" src="${st.resDomain}/v1.5/js/require.js"></script>
</body>
</html>
